package com.ruoyi.crm.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 联系人对象 contact_person
 *
 * @author ruoyi
 * @date 2021-09-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ContactPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String telName;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 联系人编号 */
    @Excel(name = "联系人编号")
    private String telNo;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    /** 手机 */
    @Excel(name = "手机")
    private String telephone;

    /** 销售负责人 */
    @Excel(name = "销售负责人")
    private String staffFollower;

    /** 联系人住址 */
    @Excel(name = "联系人住址")
    private String conAddress;

    /** 联系人邮箱 */
    @Excel(name = "联系人邮箱")
    private String conEmail;

    /** 联系人称谓 */
    @Excel(name = "联系人称谓")
    private String conSex;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String officePhone;

    /** 是否是首要联系人 */
    @Excel(name = "首要联系人")
    private String isFirst;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setTelName(String telName)
    {
        this.telName = telName;
    }

    public String getTelName()
    {
        return telName;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setTelNo(String telNo)
    {
        this.telNo = telNo;
    }

    public String getTelNo()
    {
        return telNo;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setStaffFollower(String staffFollower)
    {
        this.staffFollower = staffFollower;
    }

    public String getStaffFollower()
    {
        return staffFollower;
    }
    public void setConAddress(String conAddress)
    {
        this.conAddress = conAddress;
    }

    public String getConAddress()
    {
        return conAddress;
    }
    public void setConEmail(String conEmail)
    {
        this.conEmail = conEmail;
    }

    public String getConEmail()
    {
        return conEmail;
    }
    public void setConSex(String conSex)
    {
        this.conSex = conSex;
    }

    public String getConSex()
    {
        return conSex;
    }
    public void setOfficePhone(String officePhone)
    {
        this.officePhone = officePhone;
    }

    public String getOfficePhone()
    {
        return officePhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("telName", getTelName())
                .append("customerName", getCustomerName())
                .append("telNo", getTelNo())
                .append("position", getPosition())
                .append("telephone", getTelephone())
                .append("staffFollower", getStaffFollower())
                .append("updateTime", getUpdateTime())
                .append("conAddress", getConAddress())
                .append("conEmail", getConEmail())
                .append("conSex", getConSex())
                .append("officePhone", getOfficePhone())
                .toString();
    }
}